from django.db import models

# Create your models here.


class Group(models.Model):
    group_name = models.CharField(max_length=32, verbose_name='团队名称')
    group_script = models.CharField(max_length=64, verbose_name='备注')


class employee(models.Model):
    name = models.CharField(max_length=32, verbose_name='姓名')
    email = models.EmailField(verbose_name='邮箱')
    descript = models.TextField(verbose_name='简介')
    int = models.IntegerField()
    date = models.DateField(auto_now=True, auto_now_add=False)
    time = models.TimeField(auto_now=False, auto_now_add=False)
    datetime = models.DateTimeField(auto_now=False, auto_now_add=False)
    filetest = models.FileField(upload_to='test/')
    picture = models.ImageField(upload_to='headimage/')
